//    Copyright (C) Kherty.  All rights reserved.
using System;
using System.Collections.Generic;
using System.Text;
using OpenLS.Core.Serialization;
using OpenLS.Vml.Serialization;

namespace OpenLS.Vml.Drawing
{
    class ClipPath: ShapeElement
    {
        private string _v;

        internal override void ReadXmlCore(ReadContext context)
        {
            using (var c = context.Read(VmlConstants.WordNamespace + "clippath"))
            {
                _v = c.GetString("v"); //\\ qualified
            }
        }

        internal override void WriteXmlCore(WriteContext context)
        {
            using (var c = context.Write(VmlConstants.WordNamespace  + "clippath"))
            {
                c.SetString("v", _v); //\\ qualified
            }
        }
    }
}
